package top.frsf.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;
import top.frsf.reggie.dto.OrdersDto;
import top.frsf.reggie.entity.Orders;

/**
 * 订单表(Orders)表服务接口
 *
 * @author makejava
 * @since 2023-01-29 19:53:50
 */
public interface OrdersService extends IService<Orders> {

    @Transactional
    void submit(Orders orders);

    void pageByDto(Page<Orders> ordersPage, Page<OrdersDto> pageOrdersDto);
}

